package com.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Customerserver entity. 
 * 
 * @author 0912652
 */

public class Customerserver implements java.io.Serializable {

	// Fields

	private Integer sid;
	private String snum;
	private String sname;
	private String ssex;
	private Date sage;
	private Date sdate;
	private Integer authority;
	private String photo;
	private String pwd;
	private Set serverlogs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Customerserver() {
	}

	/** minimal constructor */
	public Customerserver(String snum, String sname, Integer authority,
			String pwd) {
		this.snum = snum;
		this.sname = sname;
		this.authority = authority;
		this.pwd = pwd;
	}

	/** full constructor */
	public Customerserver(String snum, String sname, String ssex, Date sage,
			Date sdate, Integer authority, String photo, String pwd,
			Set serverlogs) {
		this.snum = snum;
		this.sname = sname;
		this.ssex = ssex;
		this.sage = sage;
		this.sdate = sdate;
		this.authority = authority;
		this.photo = photo;
		this.pwd = pwd;
		this.serverlogs = serverlogs;
	}

	// Property accessors

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSnum() {
		return this.snum;
	}

	public void setSnum(String snum) {
		this.snum = snum;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSsex() {
		return this.ssex;
	}

	public void setSsex(String ssex) {
		this.ssex = ssex;
	}

	public Date getSage() {
		return this.sage;
	}

	public void setSage(Date sage) {
		this.sage = sage;
	}

	public Date getSdate() {
		return this.sdate;
	}

	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}

	public Integer getAuthority() {
		return this.authority;
	}

	public void setAuthority(Integer authority) {
		this.authority = authority;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public Set getServerlogs() {
		return this.serverlogs;
	}

	public void setServerlogs(Set serverlogs) {
		this.serverlogs = serverlogs;
	}

}